#pragma once
#include "Sprite.h"
#include "Source.h"
#include "GameTime.h"
class Explode
{
	Sprite *m_Sprite;
	int m_Count;
	int m_Index;

	GameTime *m_gameTime;
	float m_TimeAnimation;
public:
	Explode();
	void Init(IDImage type);
	void Draw(LPD3DXSPRITE SpriteHandler, D3DXVECTOR2 position, int vpx, int vpy);
	bool NoneEffect();
	void Next();
	void Reset()
	{
		m_Index = 0;
	}
	~Explode();
};

